from twittor import create_app
from dotenv import load_dotenv

app = create_app()

# 加载.env文件
with app.app_context():
    load_dotenv()

if __name__ == "__main__":
    app.run(debug=True, host='0.0.0.0', port=5000)
